import request from "@/utils/request"
import { IResponseType,IUserInfo } from "./interface"

/**
 * 生成时间
 */
 export const  getTimingData = () =>{
  return request<IResponseType<IUserInfo>>({ // 应有 0 个类型参数，但获得 1 个。解决shims-axios.d.ts文件中export interface AxiosInstance
    url:'/user/getTimingData',
    method:'get',
    loading:true
  })
}